package com.regent.central.bill.core.mrp;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

@Table(name = "central_action_material_arrive_check_shrunk")
public class ActionMaterialArriveCheckShrunk {
    @Id
    private String id;

    /**
     * 记录版本
     */
    private Integer version;

    @Column(name = "date_created")
    private Date dateCreated;

    @Column(name = "date_updated")
    private Date dateUpdated;

    @Column(name = "time_deleted")
    private Long timeDeleted;

    /**
     * 验布或缩布所属的到料单
     */
    @Column(name = "central_bill_material_arrive_id")
    private String centralBillMaterialArriveId;

    /**
     * 物料skuID
     */
    @Column(name = "common_materials_sku_id")
    private String commonMaterialsSkuId;

    /**
     * 验布时间
     */
    @Column(name = "date_check")
    private Date dateCheck;

    /**
     * 缩布时间
     */
    @Column(name = "date_shrunk")
    private Date dateShrunk;

    /**
     * 验布员
     */
    @Column(name = "checker_id")
    private String checkerId;

    /**
     * 缩布员ID
     */
    @Column(name = "shrunker_id")
    private String shrunkerId;

    /**
     * 合计到料, 聚合冗余数据, 描述物料sku在所属到料单的合计到料
     */
    @Column(name = "total_arrive")
    private BigDecimal totalArrive;

    /**
     * 验布长度
     */
    @Column(name = "length_check")
    private BigDecimal lengthCheck;

    /**
     * 缩布长度
     */
    @Column(name = "length_shrunk")
    private BigDecimal lengthShrunk;

    /**
     * 是否已经验布
     */
    @Column(name = "is_checked")
    private Boolean checked;

    /**
     * 是否已经缩布
     */
    @Column(name = "is_shrunked")
    private Boolean shrunked;

    /**
     * 验布引起的库存变动记录ID
     */
    @Column(name = "check_stock_change_id")
    private String checkStockChangeId;

    /**
     * 缩布引起的库存变动记录ID
     */
    @Column(name = "shrunk_stock_change_id")
    private String shrunkStockChangeId;

    /**
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取记录版本
     *
     * @return version - 记录版本
     */
    public Integer getVersion() {
        return version;
    }

    /**
     * 设置记录版本
     *
     * @param version 记录版本
     */
    public void setVersion(Integer version) {
        this.version = version;
    }

    /**
     * @return date_created
     */
    public Date getDateCreated() {
        return dateCreated;
    }

    /**
     * @param dateCreated
     */
    public void setDateCreated(Date dateCreated) {
        this.dateCreated = dateCreated;
    }

    /**
     * @return date_updated
     */
    public Date getDateUpdated() {
        return dateUpdated;
    }

    /**
     * @param dateUpdated
     */
    public void setDateUpdated(Date dateUpdated) {
        this.dateUpdated = dateUpdated;
    }

    /**
     * @return time_deleted
     */
    public Long getTimeDeleted() {
        return timeDeleted;
    }

    /**
     * @param timeDeleted
     */
    public void setTimeDeleted(Long timeDeleted) {
        this.timeDeleted = timeDeleted;
    }

    /**
     * 获取验布或缩布所属的到料单
     *
     * @return central_bill_material_arrive_id - 验布或缩布所属的到料单
     */
    public String getCentralBillMaterialArriveId() {
        return centralBillMaterialArriveId;
    }

    /**
     * 设置验布或缩布所属的到料单
     *
     * @param centralBillMaterialArriveId 验布或缩布所属的到料单
     */
    public void setCentralBillMaterialArriveId(String centralBillMaterialArriveId) {
        this.centralBillMaterialArriveId = centralBillMaterialArriveId;
    }

    /**
     * 获取物料skuID
     *
     * @return common_materials_sku_id - 物料skuID
     */
    public String getCommonMaterialsSkuId() {
        return commonMaterialsSkuId;
    }

    /**
     * 设置物料skuID
     *
     * @param commonMaterialsSkuId 物料skuID
     */
    public void setCommonMaterialsSkuId(String commonMaterialsSkuId) {
        this.commonMaterialsSkuId = commonMaterialsSkuId;
    }

    /**
     * 获取验布时间
     *
     * @return date_check - 验布时间
     */
    public Date getDateCheck() {
        return dateCheck;
    }

    /**
     * 设置验布时间
     *
     * @param dateCheck 验布时间
     */
    public void setDateCheck(Date dateCheck) {
        this.dateCheck = dateCheck;
    }

    /**
     * 获取缩布时间
     *
     * @return date_shrunk - 缩布时间
     */
    public Date getDateShrunk() {
        return dateShrunk;
    }

    /**
     * 设置缩布时间
     *
     * @param dateShrunk 缩布时间
     */
    public void setDateShrunk(Date dateShrunk) {
        this.dateShrunk = dateShrunk;
    }

    /**
     * 获取验布员
     *
     * @return checker_id - 验布员
     */
    public String getCheckerId() {
        return checkerId;
    }

    /**
     * 设置验布员
     *
     * @param checkerId 验布员
     */
    public void setCheckerId(String checkerId) {
        this.checkerId = checkerId;
    }

    /**
     * 获取缩布员ID
     *
     * @return shrunker_id - 缩布员ID
     */
    public String getShrunkerId() {
        return shrunkerId;
    }

    /**
     * 设置缩布员ID
     *
     * @param shrunkerId 缩布员ID
     */
    public void setShrunkerId(String shrunkerId) {
        this.shrunkerId = shrunkerId;
    }

    /**
     * 获取合计到料, 聚合冗余数据, 描述物料sku在所属到料单的合计到料
     *
     * @return total_arrive - 合计到料, 聚合冗余数据, 描述物料sku在所属到料单的合计到料
     */
    public BigDecimal getTotalArrive() {
        return totalArrive;
    }

    /**
     * 设置合计到料, 聚合冗余数据, 描述物料sku在所属到料单的合计到料
     *
     * @param totalArrive 合计到料, 聚合冗余数据, 描述物料sku在所属到料单的合计到料
     */
    public void setTotalArrive(BigDecimal totalArrive) {
        this.totalArrive = totalArrive;
    }

    /**
     * 获取验布长度
     *
     * @return length_check - 验布长度
     */
    public BigDecimal getLengthCheck() {
        return lengthCheck;
    }

    /**
     * 设置验布长度
     *
     * @param lengthCheck 验布长度
     */
    public void setLengthCheck(BigDecimal lengthCheck) {
        this.lengthCheck = lengthCheck;
    }

    /**
     * 获取缩布长度
     *
     * @return length_shrunk - 缩布长度
     */
    public BigDecimal getLengthShrunk() {
        return lengthShrunk;
    }

    /**
     * 设置缩布长度
     *
     * @param lengthShrunk 缩布长度
     */
    public void setLengthShrunk(BigDecimal lengthShrunk) {
        this.lengthShrunk = lengthShrunk;
    }

    public Boolean getChecked() {
        return checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    public Boolean getShrunked() {
        return shrunked;
    }

    public void setShrunked(Boolean shrunked) {
        this.shrunked = shrunked;
    }

    public String getCheckStockChangeId() {
        return checkStockChangeId;
    }

    public void setCheckStockChangeId(String checkStockChangeId) {
        this.checkStockChangeId = checkStockChangeId;
    }

    public String getShrunkStockChangeId() {
        return shrunkStockChangeId;
    }

    public void setShrunkStockChangeId(String shrunkStockChangeId) {
        this.shrunkStockChangeId = shrunkStockChangeId;
    }
}